﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Security;
using NHibernate;
using SAKS.Models;

namespace SAKS.IServices
{
    public interface IMembershipServices : IHasSession
    {

        bool ValidateUser(string userName, string password);
        MembershipCreateStatus CreateUser(string userName, string password, string email);
        bool ChangePassword(string userName, string oldPassword, string newPassword);
        bool IsUserExist(string userName);

    }
}
